import React from 'react'
import Context from './Context.jsx';
import * as antd from 'antd'
export default function ChildA(){
    const appContext = React.useContext(Context);
   
       return (
        <div>
            
            ChildB
           <br/>
            {appContext.state.name},{appContext.state.age}
        </div>
    )
}